package com.example.knowman.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.knowman.entity.knowCategory;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

//9.1knowCategory加上创建者名字
@Data
public class knowCategoryWithStaffname  {
    private String staffName;


    private Integer knowCateId;


    private String cateId;


    private String knowCateName;


    private Integer parentId;


    private String notes;


    private String staffCode;

    private Integer level;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createtime;
    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Integer getKnowCateId() {
        return knowCateId;
    }

    public void setKnowCateId(Integer knowCateId) {
        this.knowCateId = knowCateId;
    }

    public String getCateId() {
        return cateId;
    }

    public void setCateId(String cateId) {
        this.cateId = cateId;
    }

    public String getKnowCateName() {
        return knowCateName;
    }

    public void setKnowCateName(String knowCateName) {
        this.knowCateName = knowCateName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
